package com.ebookstore.dto;

import java.util.Date;

public class UserInfo extends BaseDTO {

  // Fields

  private Integer userId;

  private String  userName;

  private String  password;

  private String  email;

  private String  phone;

  private String  address;

  private String  zip;

  private String  sex;

  private String  name;

  private Date    regTime;

  private Integer loginTimes;

  private Integer level;

  // Constructors

  /** default constructor */
  public UserInfo() {
  }

  /** full constructor */
  public UserInfo(String userName, String password, String email, String phone, String address, String zip, String sex,
      String name, Date regTime, Integer loginTimes, Integer level) {
    this.userName = userName;
    this.password = password;
    this.email = email;
    this.phone = phone;
    this.address = address;
    this.zip = zip;
    this.sex = sex;
    this.name = name;
    this.regTime = regTime;
    this.loginTimes = loginTimes;
    this.level = level;
  }

  // Property accessors

  public Integer getUserId() {
    return this.userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return this.userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getPassword() {
    return this.password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getEmail() {
    return this.email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPhone() {
    return this.phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAddress() {
    return this.address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getZip() {
    return this.zip;
  }

  public void setZip(String zip) {
    this.zip = zip;
  }

  public String getSex() {
    return this.sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public String getName() {
    return this.name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Date getRegTime() {
    return this.regTime;
  }

  public void setRegTime(Date regTime) {
    this.regTime = regTime;
  }

  public Integer getLoginTimes() {
    return this.loginTimes;
  }

  public void setLoginTimes(Integer loginTimes) {
    this.loginTimes = loginTimes;
  }

  public Integer getLevel() {
    return this.level;
  }

  public void setLevel(Integer level) {
    this.level = level;
  }

}
